package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.product.ProductDto;
import com.atguigu.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Mouoal
 * @CreateTime: 2024-12-13  23:26
 * @Version: 1.0
 */
@Mapper
public interface ProductMapper {
    public abstract List<Product> findByPage(ProductDto productDto);

    public abstract void save(Product product);

    public abstract Product selectById(Long id);

    public abstract void updateById(Product product);

    public abstract void deleteById(Long id);
}
